/**
 * Copyright &copy; 2012-2016   All rights reserved.
 */
package com.kingeid.website.modules.slideshow.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.kingeid.framework.common.persistence.Page;
import com.kingeid.framework.common.service.CrudService;
import com.kingeid.website.modules.slideshow.entity.WebsiteSlideshow;
import com.kingeid.website.modules.slideshow.dao.WebsiteSlideshowDao;

/**
 * 轮播图管理Service
 * @author lanjh
 * @version 2019-05-17
 */
@Service
@Transactional(readOnly = true)
public class WebsiteSlideshowService extends CrudService<WebsiteSlideshowDao, WebsiteSlideshow> {

	public WebsiteSlideshow get(String id) {
		return super.get(id);
	}
	
	public List<WebsiteSlideshow> findList(WebsiteSlideshow websiteSlideshow) {
		return super.findList(websiteSlideshow);
	}
	
	public Page<WebsiteSlideshow> findPage(Page<WebsiteSlideshow> page, WebsiteSlideshow websiteSlideshow) {
		return super.findPage(page, websiteSlideshow);
	}
	
	@Transactional(readOnly = false)
	public void save(WebsiteSlideshow websiteSlideshow) {
		super.save(websiteSlideshow);
	}
	
	@Transactional(readOnly = false)
	public void delete(WebsiteSlideshow websiteSlideshow) {
		super.delete(websiteSlideshow);
	}
	
}